Backport GCPRO fix from trunk.
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 14 Feb 2013 22:08:38 +0000 (14:08 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 14 Feb 2013 22:08:38 +0000 (14:08 -0800)
commitee514cc204aa93206327fca6f795e447501b94e4
tree8345a24189784329066f22a45935d2cc177b65c2
parentb486f1630208ca4620364e12880f4c381434ee6d
Backport GCPRO fix from trunk.

The bug was reported for AIX before today's changes.
I reproduced the problem on Fedora 17 x86-64 when setting
GC_MARK_STACK by hand, and I presume it occurs with default
configurations on HP-UX and Unixware.
Trunk fix on 2013-01-14 by Dmitry Antipov <dmantipov@yandex.ru>:
Fix compilation with GC_MARK_STACK == GC_USE_GCPROS_AS_BEFORE.
* eval.c (eval_sub): Protect `form' from being GCed before its
car and cdr becomes protected with the backtrace entry.
src/ChangeLog
src/eval.c